draw rectangle in 3d view