Fixed the issues with rendering to mobile devices.