Cannot zoom different areas

I am trying to zoom in on a specific area on the screen, however, the zoom feature only zooms in and out of the center of the workspace. How do I fix it so I can zoom into different areas of the workspace?