fixed draw order bug

checks what is nearest to the viewer. if an object is behind another
one, it won't draw. simple as that!