Fix #517

Show more information when pan or zoom tool direction is constrained.