Fixed action buttons with an Action value over 0xFFFF.
Merge pull request #1 from Thetruecrow/branch_actions

Fixed action buttons with an Action value over 0xFFFF.