fix pixel bug in embedded overlay on mobile