Fix ActionQueue

I have no idea why this wasn't causing noticeable problems.
Use null instead of deleting in the ActionQueue