It looks like the code that I was using was using the TV service which completely shuts off the monitor, while the code you posted was blanking the screen with a screensaver. Here is what I was using:
#!/usr/bin/env python
import pwd,os
import time
import RPi.GPIO as GPIO
pir_pin = 7...