added more sensible texture coordinates for rectangle