fixed bug where moodlet was not initialized on all tabs