Moved pattern paint creation
Pattern paint improvements