Fixed this issue by setting the script to run when the class Player was loaded. Not a wmode issue at all.