Fixed attack key pressed check and decreased event handler priority.