disable cython checks in painter

should make things faster by a lot