interface: press space to flatten current layer