added some fixes for low graphics mode