drawing rect but not texture