Fixed overflow breaking

Useful for mobile devices