KeyListner, center rectangle