Allow implicit conversion from booleans to ints/floats (for WebGL)