Fix layer map bounciness (#361)