How can I make windows not go beyond the edge of the desktop?

Top