Derp. Fixed an idiotic mistake, yet still doesn't work as it should.