Fix weird bug on tablets.