Fix for randomly rotating beam animation