Fix graphics pixel format