Tweaked layer order updating to fallback to sorting by x if y and z are the same.
Merge branch 'master' of https://github.com/codecombat/codecombat