Fixed Plane/Window errors