Fixed so rectangles and buttonsimages should always be in the same spot