Fixes broken display on mobile devices

This handles issue #13