bugfix for rectangular target texture
always alloc before upload, don't alloc on resize if NoAlloc