fix for switching play and scene mode