Fixed the function in GraphicsHandle