Fixed zoom/pan problem.