Image detection not working when switching to portrait mode