(OSX) Only allow numeric input for integer and float settings