fixed photo frame ratio bug