Added missing fill() method and fixed dragging from offscreen