Fix movement in views by associating pointer location with view