Made parsing of x, y and zoom work and stopped infinite loop.