Fixed bug with reactor mask

Thanks to PM