Why image orientation is not right on uploads