Fixed infinite loop caused by specific layouts