examples and custom drawing fixes