Leaky ReLU numerical stability improvement

Just found out that the previous version (despite the small difference) could have caused numerical problems in the examples.