Fix graphics backend