Fixed overlay calc.