Actually put in the check for the target being behind the quit button.