Fix rendering on mobile