Fix issue in chrome refusing to set transition css property when an invalid key is in the set