assertEquals(getCanvas().pick(50, 50).getNearestPickResult(), rect3);
//Test when translated Z
rect3.translate(new Vector3D(0,0,-0.5f));
assertEquals(getCanvas().pick(50, 50).getNearestPickResult(), rect2);
rect3.translate(new Vector3D(0,0, 0.5f));
assertEquals(getCanvas().pick(50, 50).getNearestPickResult(), rect3);
rect1.translate(new Vector3D(0,0, 0.5f));
assertEquals(getCanvas().pick(50, 50).getNearestPickResult(), rect1);
rect1.translate(new Vector3D(0,0, -0.5f));
assertEquals(getCanvas().pick(50, 50).getNearestPickResult(), rect3);