Abort texture creation if larger than MAX_TEXTURE_SIZE; see #261