player.as: fix globogetlevels call causing stack overflow in firefox