[bug 845282] Fix mobile focus and refine wrapping

r?