fixed click action for openfl