fix scaling with large strokeWidth, this fixes #687

not only strokeWidth, but also padding was affecting scaling. this fixes issue #687