One of my events in question:

-Repeat while left mouse is clicked && "Counter01" = 0.
-----------------------------------------------------
*Create "Rocket" at 0,0 from "Player"
*Set "Counter01" to 10.
*Clickteam Movement Controller: Set object to "Rocket."
*Clickteam Movement Controller: Vector: Set direction towards object "Crosshair."
*Rocket: Set angle to (VEC_Dir( "Clickteam Movement Controller", Fixed( "Rocket" )))
-----------------------------------------------------

This works 99% of the time. However, due to causes I cannot easily reproduce, sometimes the rocket will travel towards the crosshair but NOT have the correct angle. It will be facing towards 0 degrees. The rocket has NO other events setting its angle.

I am almost sure the bug is related to alt-tabbing and letting the application lose focus. It appears to happen much more frequently when I do so.

I am 100% certain the problem is related to the Clickteam Movement Controller. Many other events handling the controller suddenly stop working when this one does. This is just one example event.

Anyone have any idea what's going on?

Edit: It could possibly be a bug related to fixed values instead of the movement controller, looking back at it. I should also add that the bug is SELF-CORRECTING after 15-45 seconds.

Edit 2: After further investigation, it seems that the Clickteam Movement Controller is, during the bug, retrieving the fixed value of the wrong (or perhaps a nonexistent) Rocket.