Fixed bug in STM line profile window positioning