fixed 3d drawing