Gcf.get_active() can return None

in which case `draw_if_interactive` should do nothing.

closes #3638
Merge pull request #3640 from minrk/noneactive

Gcf.get_active() can return None