Fixed bug when trying to remove mask placeholders

If placeholders are shown in input and you select something that includes those placeholders, error is thrown. This seems to be because in caret function call the actual input is missing. Added that to the function call.