Correct template dimensions