+ added check if custom shape can be drawn