ignore keypress events in tests
Fix #544, make sure swatch is the same size on hover and non-hover