improve mouse key layer