Fixed some auto-resizing issues for different screen / frame sizes