Fix UI errors in mobile devices