Fix rendering issue on mobile