Fixed an issue regarding button's matrix.

[Issue]
  Mouse click does not work.

[Cause]
  Button record's matrix is ignored.

[Fix]
  Took the button record's matrix into account.