Fix for setting the alpha, if parseFloat returned 0, then alpha was being set to 1