Fixing out of sync polygon and sprite bugs.