fixed rotation issues with analyzed images