Inverse Kinematics Problem

Well. I tried my best on the hand itself but it was useless and took a free version. The basics on how to rig or place bones was also easy enough but now I encountered this problem. Everytime I try to IK the thumb, the index finger or the middlefinger I get this deplacement of the rig. How can I avoid this and what did I do wrong?

Attachments