fix 'CALayer position contains NaN' bug.

This is a bug when iOS 7 use storyboard.