Fixed a bug where menu images would sometimes fail to appear