Bug fix for crash when clicking views repeatedly and fast

Signed-off-by: Michalis Vitos <info@michalisvitos.gr>