overlay.py: corrects first_src boolean check