fix initial layout position in iOS