Fix bug where physical ui wasn't triggering state