Fixed bug #895763. Thanks to o_gloom.