Fixed fill-to-fit that failed when using aspect-ratio. Fix #52.