fixed bug for long press frame