Fix inverted color issue on FF and IE #11 #12