Fix graphics library