Set frame size upon start