Title says it all.

$fullscreen is evaluating to 0 when full screened on a secondary monitor.