Fix bug with zoom

Works fine for me in Chrome and Firefox #6