Fixed misplaced container offsets on mouse events.