Math utility functions
Iterate scene graph in reverse during draw for better 2D support