Correct bug linked to device orientation