A bill has been filed in the Texas Senate aiming to stop squatters from using an obscure law to move into vacant or foreclosed homes.