Fixes graphics issue