Gcf.get_active() can return None

in which case `draw_if_interactive` should do nothing.

closes #3638