Menu window render and resize functions