Fixed template moving; enabled global pan and zoom