bugfix wrong popup resizing, deleted offset hndling for popups