minor fix for 32bits software render