Should fix #1604 (if I understood correctly)

Signed-off-by: Yoshi2889 <rick.2889@gmail.com>