When uploaded through the admin interface it does use the crop function in i.php. When images are uploaded via FTP it doesn't use that function but just crops them from the middle.
I gave up on trying to fix that and just used the generate custom thumb functions instead.