Fixed wrong size of HTML overlays.