Matrix Image drawing methods improvement