Fix for fill rect