fix camera and menu bug