Rojart: I don't see anything wrong in your screenshots. What you see is just the difference of z-fail shadows that are always parallel, and z-pass shadows that are not parallel. Z-fail treats any light source as if it were infinitely far away. This is visible in your shot. It's perfectly normal, and not a bug.
http://manual.3dgamestudio.net/shadow_stencil.htm