Mouse scroll wheel panning the camera

Whenever I use the scroll wheel on my mouse to zoom the camera in/out, it pans the camera up and down rather than zooming in/out. Does anyone know how to fix this?