The bug is still happening :c I tried to leave the stage with green, but it wouldn't allow me. It took me a little longer to figure out how to get blue from the stage.
An alternative is putting a star on his head and at the end of the level to signify he has to be the one that exits.
Enjoyable game C: