Fix output text being in front of purchase dialog

Due issue #51