fixes issues with tinting