Andrej-
Not sure what wires you're using between the switches, but you shouldn't be using the GND (bare copper) for GPIO14. The bare copper ground wire should be connected as ground on both switches and to the main earth ground in at least one of the switch boxes.
Assuming standard US 3-way wire between the boxes, for the GPIO14 switching, you should be using some combination of Black/Red, Black/White, Red/White. Also make darn sure that the wires you choose to use for GPIO14 ONLY travel between the switches directly and aren't connected to anything else in the wall. Where this might trip you up (and fry your Sonoff) is if you're using the white wire and it happens to be connected somewhere to other white wires. There are many ways electricians wire up 3-ways and if you're not absolutely positive how it's working get an electrician to assist (not trying to insult your skills here).
Re: one of the reply comments regarding "floating" voltage, it's possible you need to connect an extra pull-up resistor between GPIO14 and GND. Something like a 5K ohm will work. This would eliminate any possible "noise"/"interference." It's not always required as the ESP8266 has an internal pull up, but it's not very strong, i.e. can't overcome a very electrically noisy situation.