switched texture sampling back to repeating mode
int constructor v3, fixed origin drawing bug