Table painting problem in editor box