Prevent object going outside of screen?

Printable View