Fix building without zoom animations enabled
Merge pull request #1440 from danzel/zoom

Fix building without zoom animations enabled