fixed background scaling problem