Thanks for your comments! I was able to pinpoint the cause of the bug with the help of a friend, and it's now fixed!
Glad to hear it, thanks!