APEX does a partial page refresh when the checkbox is clicked to refresh the report. Therefore the image shows again. Since its only a partial page reload and not a complete reload of the page your code won't be executed again.
I'm unsure how to solve this, there isn't exactly an after partial page refresh event..
Why do you want to disable this option anyway?