Fix horizontal/vertical filters in Chrome 38

Fix #24