Collisions on image border

To prevent user from leaving the picture