Fixed issue #12 (Could accidentally change colour when clicking the play
button in the editor)