Using Date mask on my input fields is causing them to not work