added support for handling spray with leap motion