fixing broken zoom - int instead of float