bugfix in tilezoommap. rectangle can be bigger than the element