Updated Sprite navigation, and Cast sorting for proper sprite drawing.