HaxePunk/HaxePunk — pull request #275 by bendmorris (2014-04-12 14:25:18+00:00)
Title: Reverting collidePoint behavior to be consistent with previous versions.

It seems like recent changes have changed Scene.collidePoint. Previously, if there were multiple entities at the same layer, it would return the last one added (I was relying on this behavior in a UI framework I'm working on.) This makes sense because it's how the draw order works - the last added entity will be visually on top of the layer. Currently, the first added entity is returned instead.