fixed issue with shape sticking to side when going too far left/right