Fixed Action Mode issue. (Issue: #853)