Do not add extra pixel to texture's right and bottom edge

Extra pixel causes unnecessary problems when texture needs to be repeated.
We should have an option to extrude when necessary instead of adding extra pixel to right and bottom of all textures.