flip y direction on paints, fix typo