Fixed panning, clicking issue.