Bug fix for mobile rendering.