BUGFIX: properly enforce image dimensions on mobile