image overlays working correctly