fix draw cube