Added trapped chest support to chest related rail mechanics.