fixed some drawingoutside of surface errors