magnifier: clean up new implementation to prevent unexpected zooming