I have this problem on my photoshop where I use the rectangular marequee tool, try to move something near the edge, make a brush near the edge and it almost locks on to the side and sometimes goes out of the image and I HATE it. I never figured out what it was and how to fix it. Any help is greatly appreciated.