Pan view jumps while using pen tool