Fix for obf environment and for mouse zoom