Thank you to FaceDeer and Sefiriot for explaining how to implement the fix, and JimmXinu for the new version, and putting the inspiration and code out there in the first place. My apologies for not having given clearer instructions when I'd posted, guess that's what comes of late-night hacking.