Added fix for 'X' buttoning adding hash. Fixes #270