Fixed bug loading preview and size issue on mobile