Fixed #15

Changed alpha to float, as recommended by @neothemachine.