Fixed a VERY annoying bug. Oops.