Deliberate mistake: Special effects of the ship in space were very expensive in the 60s and couldn't be wasted. So when a larger model was built with slightly different nacelles, shots of both versions became common, even within the same episode. This is why the Enterprise sometimes had red needle-tipped nacelles and sometimes lighted "spinning" ones, and in aft views she had either round white spheres or perforated vents at the nacelles' ends.
Revealing mistake: While the interior sets for the shuttle craft provided adequate room for the actors to stand, the mock-up built for exterior shots was undersized, and too short to stand up in by several inches. So when entering or exiting the shuttle, the actors always had to duck.