fixed non-synced panning bug