Fix zoom levels and draw position calculation functions, refs #11658 #11658