Fixed nullpointerexception for glowing.

(It glows but not as I would like to have it glow)