Entities are now drawn in the order of their y-coordinate