fix 2d renderings: use ax and ay offsets from program header
Fixed bug, where first Z coordinate was ignored, resulting in fallback to Z=0.