Removed usage of simulation.frame from playcontroller. Only left in for debugging purposes