Fixed sneaky bitshifting bug