Another quick-fix

Found another recently introduced problem. Images weren't being centered
when navigating through them anymore.