Is your texture atlas file located in Public/MyMod/GUI? Check the message log - It may say it's not loading the atlas file when you switch to game mode.