Temporary fix to galaxy.panels.mako to ensure AMD order