Fixed a seriously annoying bug.