Set frame size on startup