[Bug Fix] Bottom and Right desktop borders

The application is no longer drawn beyond the borders of the desktop.