Fixed orientation change for text layer.