Switched to a nicer way of computing scaled width

Thanks, Shane.