Fix Focus bug when the ratio is far from 1:1

Typo width -> height