Fixed bug for Orientation Based devices with more than one element.