changed the fix made on pie plugin to match the one on flot issue