fixed playing during edit bug