Renamed StateManager.render to frame