@DarkDragon
the bug seems to fix itself when you click back into the game.
also I just clicked in and out to show that the game was active during the window being idle
and its during window mode haven't tested it with fullscreen
ZoriaRPG informs me that the game being active during the os window losing focus is not a bug.
however the palette problem while doing so is a bug. its just not a priority since it fixes itself when the window is focused again.