Bugfix: was returning height not width