fixed tutorial bug that broke panning