fix for texture paint mode

Signed-off-by: Brendon Murphy <meta.androcto1@gmail.com>