Fixed Frame Resizing Bug

Resizing frame allowed user to go outside visible play area.