Fixed bug on mobile when opening ding