Set window dimensions for new frames